﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Text.RegularExpressions; 

namespace EntityClassGenerator.DataAccess
{
    /// <summary>
    /// 本类提供了其它三个数据访问类的工具方法.
    /// </summary>
    public class ToolMethods
    {
        /// <summary>
        /// 得到字段信息表格.
        /// </summary>
        public static DataTable GetFieldsTable()
        {
            DataTable fields = new DataTable("FieldsTable");
            fields.Columns.Add("字段名", typeof(string));
            fields.Columns.Add("字段类型", typeof(string));
            fields.Columns.Add("注释", typeof(string));
            return fields;
        }
    }
}
